package com.csun.cmny.provider.model.domain;

import lombok.Data;

import javax.persistence.Column;
import javax.persistence.Id;
import javax.persistence.Table;

@Data
@Table(name = "cn_dmc_controller_card_bind")
public class DmcControllerCardBind {
    /**
     * 门禁组Id
     */
    @Id
    @Column(name = "rfid_reader_id")
    private Long rfidReaderId;

    /**
     * 门禁读卡器Id
     */
    @Id
    @Column(name = "controller_card_id")
    private Long controllerCardId;

    /**
     * 门禁序号
     */
    private Integer number;

    /**
     * 是否经过门禁权限 0-不需要-关 1-需要-开
     */
    private Integer permission;
}